package com.qf.ability.search.service;

import com.qf.ability.search.entity.GoodsInfoSearch;
import com.qf.ability.search.entity.SearchParams;

import java.util.Map;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
public interface IGoodsSearch {

    boolean createIndex();

    boolean isExsite();

    boolean insert(GoodsInfoSearch goodsInfoSearch);

    Map<String, Object> search(SearchParams searchParams);

    String searchLikeWord(String keyword);
}
